package com.wlz.ota.packageOriginal;

import lombok.Data;

/**
 *   # 非嵌入式包
 *   unembed: ICC,TBX,VAX,VAS,VAV,VXF,HUM
 *   # 全量包正则
 *   full-package-exp: ^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{3,6}(C[0-9]{3,6}){0,1})([A-Za-z0-9]{1}[A-Za-z0-9-]*)((_ALL){0,1})$
 *   # 差分包正则
 *   diff-package-exp: ^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{3,6}(C[0-9]{3,6}){0,1})([A-Za-z0-9]{1}[A-Za-z0-9-]*)((S[0-9]{3,6}(C[0-9]{3,6}){0,1}){1})$
 *   # 1-文件
 *   drive-file-exp: ^(1)-([A-Z]{3})_([A-Za-z0-9-]+)_([A-Za-z0-9-]+)$
 *   # 2-文件
 *   app-file-exp: ^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{6})(A[0-9]{2}){0,1}([A-Za-z0-9]{1}[A-Za-z0-9-]*)$
 *   # 7-文件
 *   mark-file-exp: ^([A-Z]{3})([A-Z0-9]{9})(C[0-9]{6})(C[0-9]{2}){0,1}([A-Za-z0-9]{1}[A-Za-z0-9-]*)$
 *
 *
 *     # 全量包正则
 *   full-package-exp: ^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{3,6}(C[0-9]{3,6}){0,1})([A-Za-z0-9]{1}[A-Za-z0-9-]*)((_ALL){0,1})$
 *   # 差分包正则
 *   diff-package-exp: ^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{3,6}(C[0-9]{3,6}){0,1})([A-Za-z0-9]{1}[A-Za-z0-9-]*)((S[0-9]{3,6}(C[0-9]{3,6}){0,1}){1})$
 *   # 1-文件
 *   drive-file-exp: ^(1)-([A-Z]{3})_([A-Za-z0-9-]+)_([A-Za-z0-9-]+)$
 *   # 2-文件
 *   app-file-exp: ^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{6})(A[0-9]{2}){0,1}([A-Za-z0-9]{1}[A-Za-z0-9-]*)$
 *   # 7-文件
 *   mark-file-exp: ^([A-Z]{3})([A-Z0-9]{9})(C[0-9]{6})(C[0-9]{2}){0,1}([A-Za-z0-9]{1}[A-Za-z0-9-]*)$
 */
@Data
public class BusinessConfigProperties {

    /**
     * 非嵌入式包
     */
    public static String unembed = "ICC,TBX,VAX,VAS,VAV,VXF,HUM";
    /**
     * 全量包正则
     */
    public static String fullPackageExp = "^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{3,6}(C[0-9]{3,6}){0,1})([A-Za-z0-9]{1}[A-Za-z0-9-]*)((_ALL){0,1})$";
    /**
     * 差分包正则
     */
    public static String diffPackageExp = "^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{3,6}(C[0-9]{3,6}){0,1})([A-Za-z0-9]{1}[A-Za-z0-9-]*)((S[0-9]{3,6}(C[0-9]{3,6}){0,1}){1})$";
    /**
     * 1-文件
     */
    public static String driveFileExp = "^(1)-([A-Z]{3})_([A-Za-z0-9-]+)_([A-Za-z0-9-]+)$";
    /**
     * 2-文件
     */
    public static String appFileExp = "^([A-Z]{3})([A-Z0-9]{9})(S[0-9]{6})(A[0-9]{2}){0,1}([A-Za-z0-9]{1}[A-Za-z0-9-]*)$";
    /**
     * 7-文件
     */
    public static String markFileExp = "^([A-Z]{3})([A-Z0-9]{9})(C[0-9]{6})(C[0-9]{2}){0,1}([A-Za-z0-9]{1}[A-Za-z0-9-]*)$";

}